package com.asiainfo.bean;
/*
 * 
 * 卡信息映射实体类
 */
public class Card {
	private int id;
	private int type;
	private int date;
	private int num;
	private int state;
	private int effective;
	private int vip_id;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getDate() {
		return date;
	}
	public void setDate(int date) {
		this.date = date;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public int getEffective() {
		return effective;
	}
	public void setEffective(int effective) {
		this.effective = effective;
	}
	public int getVip_id() {
		return vip_id;
	}
	public void setVip_id(int vip_id) {
		this.vip_id = vip_id;
	}
	//全参构造函数
	public Card(int id, int type, int date, int num, int state, int effective, int vip_id) {
		super();
		this.id = id;
		this.type = type;
		this.date = date;
		this.num = num;
		this.state = state;
		this.effective = effective;
		this.vip_id = vip_id;
	}
	//带参(除card_id)构造函数
	public Card(int type, int date, int num, int state, int effective, int vip_id) {
		super();
		this.type = type;
		this.date = date;
		this.num = num;
		this.state = state;
		this.effective = effective;
		this.vip_id = vip_id;
	}
	//无参构造函数
	public Card() {
		super();
	}
	
}
